package com.wmm.dao;

import com.wmm.domain.ResourceCategory;

import java.util.List;


public interface ResourceCategoryMapper {
    /**
     * 查询所有的资源分类
     */
    public List<ResourceCategory> findAllResourceCategory();

    /**
     * 添加资源分类
     */
    public void saveResourceCategory(ResourceCategory resourceCategory);

    /**
     * 修改资源分类
     */
    public void updateResourceCategory(ResourceCategory resourceCategory);

    /**
     * 删除资源分类接口
     * @param id
     */
    public void deleteResourceCategory(int id);
}
